<%@ Page Language="C#" MasterPageFile="~/MasterPages/manager/manager.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="manager_websites_Default" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<link href="../../scripts/subModal/subModal.css" rel="stylesheet" type="text/css" />
<script src="../../scripts/subModal/common.js" type="text/javascript"></script>
<script src="../../scripts/subModal/subModal.js" type="text/javascript"></script>
<h2>Websites</h2>
<asp:GridView id="gvWebsites" runat="server" DataSourceID="odsWebsites" DataKeyNames="ID" OnRowUpdating="gvWebsites_RowUpdating" OnRowDataBound="gvWebsites_RowDataBound" Width="100%" AutoGenerateColumns="False"><Columns>
<asp:BoundField ReadOnly="True" DataField="ID" SortExpression="ID" HeaderText="ID"></asp:BoundField>
<asp:BoundField DataField="Title" SortExpression="Title" HeaderText="Title"></asp:BoundField>
<asp:BoundField DataField="URL" SortExpression="URL" HeaderText="URL"></asp:BoundField>
<asp:TemplateField SortExpression="HostHeader" HeaderText="Host Headers">
<ItemTemplate><asp:Literal runat="server" ID="litHostHeaders" Text='<%#Bind("HostHeader") %>' /></ItemTemplate>
</asp:TemplateField>
<asp:TemplateField SortExpression="SubFolderName" HeaderText="Sys Name">
<ItemTemplate>
<asp:Literal runat="server" ID="litSubFolderName" Text='<%#Bind("SubFolderName") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField><ItemTemplate>
<a href="details.aspx?wid=<%#Eval("ID") %>">Edit...</a>
</ItemTemplate>
</asp:TemplateField>
<asp:CommandField ShowDeleteButton="True"></asp:CommandField>
</Columns>
</asp:GridView> <asp:ObjectDataSource id="odsWebsites" runat="server" TypeName="TanashCMS.Business.TanashWebsite" SelectMethod="List" OnSelecting="odsWebsites_Selecting" OldValuesParameterFormatString="original_{0}" UpdateMethod="Update" InsertMethod="Insert" DeleteMethod="Delete" DataObjectTypeName="TanashCMS.Business.TanashWebsite"><SelectParameters>
<asp:ProfileParameter PropertyName="CustomerID" Type="Int32" DefaultValue="0" Name="CustomerID"></asp:ProfileParameter>
</SelectParameters>
</asp:ObjectDataSource>
<DIV id="popupContainer"><DIV id="popupInner"><DIV id="popupTitleBar"><DIV id="popupTitle"></DIV><DIV id="popupControls"><IMG onclick="hidePopWin(false);" src="../../scripts/subModal/close.gif" /> </DIV></DIV><IFRAME style="WIDTH: 100%; HEIGHT: 100%; BACKGROUND-COLOR: transparent" id="popupFrame" name="popupFrame" src="../../scripts/subModal/loading.html" frameBorder="0" width="100%" scrolling="auto" height="100%">
</IFRAME></DIV></DIV>
<asp:ObjectDataSource ID="odsCustomers" runat="server" OldValuesParameterFormatString="original_{0}"
    SelectMethod="List" TypeName="TanashCMS.Business.TanashCustomer"></asp:ObjectDataSource>

</asp:Content>

